[#escape x as x?html]
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>客户车辆编辑</title>
[#include "/include/jsvalidation.ftl"]
[#include "/include/main.ftl"]
    <script>
        $(function() {
            $("#CustomerCarEdit").tabs();
        });

    </script>
</head>
<body>
<div class="ui-widget page">
[#include '/top.ftl']

    <div class="content">
    [#include '/leftNav.ftl']
        <div style="width:845px;height:600px;float: left;padding-left: 5px">
            <div class="ui-widget-content ui-corner-all" style="min-height: 600px;">
                <form name="mainForm" method="post" action="" onsubmit="if (va.validate()) formSubmit(this);else return false;">
<INPUT TYPE="hidden" NAME="sn" VALUE="${obj.CustomerCarObj.sn?default('')}">

                    【<a href="/list">返回客户车辆列表</a>】
                    <div id="CustomerCarEdit" style="width:830px">

                        <ul style="border-bottom:#aed0ea 1px solid;">
                            <li><a href="CustomerCar_base">基本资料</a></li>

                        </ul>
                        <div id="CustomerCar_base">
<p>
客户主键  <input type="text"  size="20" id="mainSn" name="mainSn" class="required max-length-40 ">
(必填)
<script>$("#mainSn").val("${(obj.CustomerCarObj.mainSn)?default('')}");</script>
 </p>
<p>
号牌号码  <input type="text"  size="20" id="carNo" name="carNo" class="max-length-40 ">

<script>$("#carNo").val("${(obj.CustomerCarObj.carNo)?default('')}");</script>
 </p>
<p>
车辆类型  <input type="text"  size="20" id="carKind" name="carKind" class="max-length-40 ">

<script>$("#carKind").val("${(obj.CustomerCarObj.carKind)?default('')}");</script>
 </p>
<p>
所有人  <input type="text"  size="20" id="owner" name="owner" class="max-length-40 ">

<script>$("#owner").val("${(obj.CustomerCarObj.owner)?default('')}");</script>
 </p>
<p>
住址  <input type="text"  size="20" id="address" name="address" class="max-length-200 ">

<script>$("#address").val("${(obj.CustomerCarObj.address)?default('')}");</script>
 </p>
<p>
使用性质  <input type="text"  size="20" id="useKind" name="useKind" class="max-length-40 ">

<script>$("#useKind").val("${(obj.CustomerCarObj.useKind)?default('')}");</script>
 </p>
<p>
品牌型号  <input type="text"  size="20" id="brand" name="brand" class="max-length-100 ">

<script>$("#brand").val("${(obj.CustomerCarObj.brand)?default('')}");</script>
 </p>
<p>
车辆识别代号  <input type="text"  size="20" id="vin" name="vin" class="max-length-100 ">

<script>$("#vin").val("${(obj.CustomerCarObj.vin)?default('')}");</script>
 </p>
<p>
发动机号  <input type="text"  size="20" id="eno" name="eno" class="max-length-100 ">

<script>$("#eno").val("${(obj.CustomerCarObj.eno)?default('')}");</script>
 </p>
<p>
注册日期  <input type="text"  size="20" id="regDate" name="regDate" class="validate-date-yyyy-MM-dd" onClick="popCalendar(this)" >

<script>$("#regDate").val("${(obj.CustomerCarObj.regDate?string('yyyy-MM-dd'))?default('')}");</script>
 </p>
<p>
发证日期  <input type="text"  size="20" id="cardDate" name="cardDate" class="validate-date-yyyy-MM-dd" onClick="popCalendar(this)" >

<script>$("#cardDate").val("${(obj.CustomerCarObj.cardDate?string('yyyy-MM-dd'))?default('')}");</script>
 </p>
<p>
档案编号  <input type="text"  size="20" id="archivesNo" name="archivesNo" class="max-length-100 ">

<script>$("#archivesNo").val("${(obj.CustomerCarObj.archivesNo)?default('')}");</script>
 </p>
<p>
核定载人数  <input type="text"  size="20" id="maxPerson" name="maxPerson" class="validate-number ">

<script>$("#maxPerson").val("${(obj.CustomerCarObj.maxPerson)?default('')}");</script>
 </p>
<p>
总质量  <input type="text"  size="20" id="totalWeight" name="totalWeight" class="validate-float ">

<script>$("#totalWeight").val("${(obj.CustomerCarObj.totalWeight)?default('')}");</script>
 </p>
<p>
整备质量  <input type="text"  size="20" id="mWeight" name="mWeight" class="validate-float ">

<script>$("#mWeight").val("${(obj.CustomerCarObj.mWeight)?default('')}");</script>
 </p>
<p>
外观尺寸  <input type="text"  size="20" id="size" name="size" class="max-length-100 ">

<script>$("#size").val("${(obj.CustomerCarObj.size)?default('')}");</script>
 </p>
<p>
检验有效期  <input type="text"  size="20" id="checkValidDate" name="checkValidDate" class="validate-date-yyyy-MM-dd" onClick="popCalendar(this)" >

<script>$("#checkValidDate").val("${(obj.CustomerCarObj.checkValidDate?string('yyyy-MM-dd'))?default('')}");</script>
 </p>


                        </div>

                </form>
                <script>
                  va = new Validation('mainForm');
                </script>
            </div>

        </div>
    </div>

[#include '/bottom.ftl']
</div>
</body>
</html>
[/#escape]
